package com.priox.sigar.domain.service;

import com.priox.sigar.client.dto.ClienteDTO;
import com.priox.sigar.client.flt.ClienteFlt;
import com.priox.sigar.domain.model.Cliente;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Johann
 * Date: 28/08/13
 * Time: 11:13 PM
 * To change this template use File | Settings | File Templates.
 */
public interface ClienteService {

    public List<Cliente> findByIds(List<Long> ids);

    List<ClienteDTO> findAll();
    List<Cliente> findAllCadenas();

    List<ClienteDTO> findByFilter(ClienteFlt filtro);

    void save(ClienteDTO cadena,boolean updateMode);

    public void saveSimple(ClienteDTO cadenaDTO, boolean updateMode);

    void update(ClienteDTO anterior);

//    Acreedor findByCode(Long code);

    void executeSP();

    void delete(ClienteDTO nuevoRegistro);
}
